using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameInit : MonoBehaviour
{
    SceneMgr m_SceneMgr = new SceneMgr();
    private void Awake()
    {
        GameObject.DontDestroyOnLoad(this.gameObject);
    }
    // Start is called before the first frame update
    void Start()
    {
        m_SceneMgr.SetScene(new StartState(m_SceneMgr), "");
    }

    // Update is called once per frame
    void Update()
    {
        m_SceneMgr.StateUpdate();
    }
}
